package com.soft.springhrms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Data;

/**
 * @TableName departments
 */
@TableName(value = "departments")
@Data
public class Departments implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String description;
    private Integer departmentManagerId;
    @TableField(exist = false)
    private String managerName;
    @TableField(exist = false)
    private Integer departmentCount;
}